﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/tree.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.3.1.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/butnScript.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/mytask/myTask.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/dataList/element.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/dataList/joinElement.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/sysRight/sysRight.js"></script>
	<script type="text/javascript">
	</script>
	<script type="text/javascript">
		$(function(){
			initMyTask("TASKLIST",'${m.prefix}');
			$('span a[flag=1]').parent().parent('div').attr('class','tree-node tree-node-selected')
		})
	</script>
	</head>
	<body class="easyui-layout" style="overflow-y: hidden">
	<!--
		 用layout 将左右分栏 
		<div region="west" hide="true" border="0" style="overflow-x:hidden;width:190px;height: 650px;" id="taskWest" prefix='${m.prefix}'>
			<ul id="tt" class="easyui-tree" style="width: 190px; border-right: 1px solid gray">
				<li>
					<span>业务任务</span>
					<ul>
						<li>
							<span><a href="#" onclick="findTaskAll(this)"  flag='1' dsId='ds_bs_flowmanager2' doubFunc='_p_work'>所有任务</a></span>	
						</li>
						<li>
							<span><a href="#" onclick="findTaskAll(this)"  flag='0' dsId='ds_bs_flowmanager2' doubFunc='_p_work'>待处理</a></span>	
						</li>
						<li>
							<span><a href="#" onclick="findTaskAll(this)" flag='2' dsId='ds_bs_flowmanager2' doubFunc='_p_work'>已完成</a></span>
						</li>
					</ul>
				</li>
				<li>
					<span>财务任务</span>
					<ul>
						<li>
							<span><a href="#" onclick="findTaskAll(this)" flag='5' dsId='work_caiwuPro' doubFunc='_p_work_cw'>所有任务</a></span>	
						</li>
						<li>
							<span><a href="#" onclick="findTaskAll(this)"  flag='4' dsId='work_caiwuPro' doubFunc='_p_work'>待审核</a></span>	
						</li>
						<li>
							<span><a href="#" onclick="findTaskAll(this)" flag='6' dsId='work_caiwuPro' doubFunc='_p_work_cw'>已审核</a></span>
						</li>
					</ul>
				</li>
				<li>
					<span>审批任务</span>
					<ul>
						<li>
							<span><a href="#" onclick="findTaskAll(this)"  flag='9' dsId='ds_bs_myApprove1' doubFunc='_p_work'>所有审批</a></span>	
						</li>
						<li>
							<span><a href="#" onclick="findTaskAll(this)"  flag='7' dsId='ds_bs_myApprove1' doubFunc='_p_work'>待审批</a></span>	
						</li>
						<li>
							<span><a href="#" onclick="findTaskAll(this)" flag='8' dsId='ds_bs_myApprove1' doubFunc='_p_work'>已审批</a></span>
						</li>
					</ul>
				</li>
			</ul>	
		</div>
		<div  style="overflow-y:hidden; height: 650px; padding-left: 5px; padding-top: 10px;"  id="${m.prefix}_QueryTaskList" >  
			<div>
				<input type="hidden" id="${m.prefix}_hideVal" value="0"/>
				<table class='tableBord' id="${m.prefix}_commUse" style="float: left;"></table>
				<span><a class='easyui-linkbutton' href="#" onclick="_w_bquery(this)" id='${m.prefix}_taskQuery'  pre='${m.prefix}' dsid='${m.dsId}' tit='${m.panelTitle}' flagStr='1' >查询</a></span>
				<span><a class='easyui-linkbutton' href="#" onclick="_w_reset(this)" id='${m.prefix}_reSet'  pre='${m.prefix}' dsid='${m.dsId}' tit='${m.panelTitle}' flagStr='0' >重置</a></span>
			</div>
			<table cellpadding="0" cellspacing="0" style="padding-top: 5px;">
				<tr>
					<td colspan="2" >
						 数据列表 	
						<table id="${m.prefix}_TASKLIST" ></table>
					</td>
				</tr>
				<tr>
					<td>
						<div id='${m.prefix}_congfigVal'  style="border:1px solid #99BBE8;font-size:14px; color: green;height: 30px;margin-top:5px;"></div>
					</td>
				</tr>
			</table>
        </div>
		<input type="hidden" id='${m.prefix}_sq_pks'/>
		<input type="hidden" id="${m.prefix}_dsId" value="${m.dsId}"/>
		<input type="hidden" id="${m.prefix}_type" value="${m.type}"/>
		<input type="hidden" id="${m.prefix}_jsUrl" value="${m.jsUrl}"/>
		<input type="hidden" id="${m.prefix}_prefix" value="${m.prefix}"/>
		<input type="hidden" id="${m.prefix}_initFunc" value="${m.initFunc}"/>
		<input type="hidden" id="${m.prefix}_ainitFunc" value="${m.ainitFunc}"/>
		<input type="hidden" id="${m.prefix}_keyValue" value="${m.keyValues}"/>
		<input type="hidden" id="${m.prefix}_choice" value="${m.choice}"/>
		<input type="hidden" id="${m.prefix}_aoru" value="${m.aoru}"/>
		<input type="hidden" id="${m.prefix}_pks" value="${m.pks}"/>
		<input type="hidden" id="${m.prefix}_winitFunc" value="${m.winitFunc}"/>
		<input type="hidden" id="${m.prefix}_wainitFunc" value="${m.wainitFunc}"/>-->
		</body>
</html>